package cn.shengongying.model;

import cn.shengongying.bean.BaseModal;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 用户消息信息
 * </p>
 *
 * @author RXK
 * @since 2022-01-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Information extends BaseModal {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 来源id
     */
    private Long sourceId;

    private Long from;

    /**
     * 类型(1:收到的赞;2:回复我的;3:被采纳;4:被邀请;5:官方)
     */
    private Integer type;

    /**
     * 标题
     */
    private String title;

    /**
     * 内容
     */
    private String content;

    /**
     * 是否阅读(0:否;1:是)
     */
    private Integer read;

    private Date deletedAt;


}
